<?php
// 设置时区
date_default_timezone_set("PRC");
include 'MMysql.php';
  

session_start();
$mysql = new MMysql();
$code = $_POST['clickName'];
$openid = $_SESSION['openid'];
$sql = 'update user3 set '.$code.'='.$code.'+1 where openid = "'.$openid.'"';
$mysql->doSql($sql);
?>